public class Book{
    public String title;
    public String author;
    public boolean available = true;

    public Book(String title, String author){
        this.title = title;
        this.author = author;
    }

    public String getAuthor(){
        return author;
    }

    public String getTitle(){
        return title;
    }

    public boolean isAvailable(){
        return available;
    }

    public void setAvailable(boolean available){ //Set the availability of the book.
        this.available = available;
    }
}
